<?php
if (!defined ('TYPO3_MODE')) 	die ('Access denied.');
$TCA["tx_enotelms_atom"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:enotelms/locallang_db.xml:tx_enotelms_atom',		
		'label' => 'title',	
		'tstamp' => 'tstamp',
		'crdate' => 'crdate',
		'cruser_id' => 'cruser_id',
		"default_sortby" => "ORDER BY crdate",	
		"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
		"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_enotelms_atom.gif",
	),
	"feInterface" => Array (
		"fe_admin_fieldList" => "title",
	)
);

$TCA["tx_enotelms_userdata"] = Array (
	"ctrl" => Array (
		'title' => 'LLL:EXT:enotelms/locallang_db.xml:tx_enotelms_userdata',		
		'label' => 'title',	
		'cruser_id' => 'cruser_id'
	)
);

t3lib_div::loadTCA('tt_content');

$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key,pages';
t3lib_extMgm::addPlugin(Array('LLL:EXT:enotelms/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY.'_pi1'),'list_type');
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1']='pi_flexform';
if(t3lib_div::int_from_ver(TYPO3_version) >= 4002000)
	t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_pi1','FILE:EXT:'.$_EXTKEY.'/flexform_pi1.xml');
	

?>